package com.tanhua.common.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * * @title: User
 *
 * @Author Philcan
 * @Date: 2021/8/5 18:31
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User extends BasePojo implements Serializable {
    private Long id;
    private String mobile; //手机号
//    密码,json序列化是忽略
    @JsonIgnore
    private String password;

}
